package com.github.fork.action;

import org.springframework.stereotype.Component;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

/**
 * @author Jerry Liu
 * @since 2017/3/22
 */
@Path("/demo")
@Component
public class DemoAction {

    @Path("/hello")
    @GET
    public void hello() {
        System.out.println("==========helllllo tomcat==========");
    }

}
